
﻿<%-- 
    Document   : index
    Created on : 8 черв 2011, 13:30:34
    Author     : Olexy
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>АРМ робітника приймальної комісії</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="../css/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="width=100% height=100% align-left"></div><div class="width=100% height=100% align-left"></div><div class="align-left"></div>
<div class="padding valign-image-left"></div><div class="padding  valign-image-right"></div><div class="padding valign-image-center"></div>

<div id="container">
  <div id="top">
    <h1>АРМ робітника приймальної комісії</h1>
    <table width=100% height=100%><tr ><td width=90%></td><td width=10%><a href="../LogoutServlet">Вихід</a></td></tr></table>
  </div>
    <c:if test="${not empty param.error}">
        <div class="error">${param.error}</div>
    </c:if>
  <div id="content">
      <form action="UpdateEntrantServlet" method="post">
	<table>
		<tr>
		<td>Група:</td>
                <td><select name="groupa" style="width: 170px">
                        <option value ="-1">no group</option>
                    <c:forEach var="gr" items="${sessionScope['entrantsAcceptor'].groups}">
                        <option value="${gr.idGroup}" <c:if test="${gr.code == param.group}">selected</c:if> >${gr.code}</option>
                    </c:forEach>
                </select>
                </td>

	</tr>
	<tr>
		<td>Ім'я:</td>
                <td><input type="text" name="name" value="${param.name}" maxlength="50"/></td>
	</tr>
	<tr>
		<td>Прізвище:</td>
		<td><input type="text" name="surname" value="${param.surname}" maxlength="50"/></td>
	</tr>
		<tr>
		<td>Адреса:</td>
		<td><input type="text" name="address" value="${param.address}" maxlength="100"/></td>
	</tr>
</table>
        <input type="hidden" name="id" value="${param.id}"/>
	<INPUT TYPE="button" VALUE="Baсk" onclick="document.location='index.jsp'"><input type="submit" value="Готово"/><input type="reset" value="Заново" />
	</form>
   
  </div>
  <div id="footer">
    <p align=center> &copy; 2011 АРМ робітника приймальної комісії.
</p>
<div class="width=100% height=100% align-left"></div><div class="width=100% height=100% align-left"></div><div class="align-left" height="100"></div> <div class="align-left"></div> <div class="align-right"></div><div class="align-left"></div> <div class="align-left"></div> <div class="align-left"></div><div class="align-right"></div> <div class="align-left"></div><div class="align-right" alt="" height="100" width="1"></div> <div class="align-left" alt=""></div> <div class="align-center" height="76" width="100"></div><div class="align-left" alt="" height="67" width="1"></div> <div class="align-left" height="100" height="100" width="1"></div><div class="align-left" alt="" height="67" width="1"></div><div alt="" class="align-right"></div><div class="align-left"></div><div class="left"></div><div class="align-left" alt="" height="67" width="1"></div><div class="align-left"></div></div></div><div class="align-left"></div><div class="align-left"></div></body></html>